/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package WSClient;

import Wsdl.RespBdProveedor;

/**
 *
 * @author ARMGARCES
 */
public class WSClientProveedor {
    /**
     * 
     * @param user
     * @param groupSupplier
     * @return 
     */
    public static RespBdProveedor changeGroupSupplier(java.lang.String user, Wsdl.GroupSupplier groupSupplier) {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.changeGroupSupplier(user, groupSupplier);
    }
    /**
     * 
     * @param user
     * @param supplier
     * @return 
     */
    public static RespBdProveedor changeSupplier(java.lang.String user, Wsdl.Supplier supplier) {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.changeSupplier(user, supplier);
    }
    /**
     * 
     * @param groupSupplierName
     * @return 
     */
    public static RespBdProveedor checkGroupSupplier(java.lang.String groupSupplierName) {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.checkGroupSupplier(groupSupplierName);
    }
    /**
     * 
     * @param rif
     * @return 
     */
    public static RespBdProveedor checkSupplier(java.lang.String rif) {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.checkSupplier(rif);
    }
    /**
     * 
     * @param find
     * @return 
     */
    public static RespBdProveedor findGroupSupplier(java.lang.String find) {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.findGroupSupplier(find);
    }
    /**
     * 
     * @param find
     * @return 
     */
    public static RespBdProveedor findSupplier(java.lang.String find) {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.findSupplier(find);
    }
    /**
     * 
     * @return 
     */
    public static RespBdProveedor loadGroupSupplier() {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.loadGroupSupplier();
    }
    /**
     * 
     * @return 
     */
    public static RespBdProveedor loadSupplier() {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.loadSupplier();
    }
    /**
     * 
     * @param user
     * @param groupSupplier
     * @param operacion
     * @return 
     */
    public static RespBdProveedor saveGroupSupplier(java.lang.String user, Wsdl.GroupSupplier groupSupplier, int operacion) {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.saveGroupSupplier(user, groupSupplier, operacion);
    }
    /**
     * 
     * @param user
     * @param supplier
     * @param operacion
     * @return 
     */
    public static RespBdProveedor saveSupplier(java.lang.String user, Wsdl.Supplier supplier, int operacion) {
        Wsdl.Proveedor_Service service = new Wsdl.Proveedor_Service();
        Wsdl.Proveedor port = service.getProveedorPort();
        return port.saveSupplier(user, supplier, operacion);
    } 
}
